<?php
/* @var $type string */
/* @var $name string */
/* @var $imageList array */
/* @var $options array */
/* @var $uploadOptions array */
?>
<div id="<?=$options['id']?>" class="file-list-box">
    <?php if($imageList):?>
        <?php foreach ($imageList as $index => $image):?>
            <div class="file-div-box sortable">
                <input type="hidden" name="<?=$name;?>[]" value="<?=$image?>">
                <div class="file-delete"><i class="fa fa-trash-o" title="删除"></i></div>
                <img class="file-responsive" src="<?=$image?>">
            </div>
        <?php endforeach;?>
        <div id="<?=$uploadOptions['uploadEle'];?>" class="file-div-box">
            <span class="fa fa-cloud-upload"></span>
        </div>
    <?php endif;?>
</div>
